/**************************************************************************************
* Component of simpleRTJ regression tests.
**************************************************************************************
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY,  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL RTJ COMPUTING BE LIABLE FOR ANY CLAIM, DAMAGES
* OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Created by:
*       RTJ Computing
**************************************************************************************/
public class TestArray
{
    static int iArr[] = new int[2];
    byte bArr[] = new byte[2];
    char cArr[] = new char[2];
    short sArr[] = new short[2];
    int nArr[] = new int[0];
    Dummy aArr[] = new Dummy[2];

    //int mArr[3][2][2];

    public static void test() throws Exception
    {
        iArr[0] = 2;
        iArr[1] = -3;
        if (iArr[0] != 2 || iArr[1] != -3)
            throw new Exception("ARR1");
    }
}

class Dummy
{
}
